// SpringSet.h: interface for the SpringSet class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SPRINGSET_H__CDE5334A_7BF8_4966_9D00_064452A1CB5D__INCLUDED_)
#define AFX_SPRINGSET_H__CDE5334A_7BF8_4966_9D00_064452A1CB5D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "DataSet.h"
#include "Spring.h"
#include "ObjectGenerator.h"

class AFX_EXT_CLASS SpringSet : public PropertyDataSet  
{
public:
	SpringSet();
	virtual ~SpringSet();

public:
	BOOL GetSpringSet(const CString& strRegular);
	Spring* GetFirstSpring();
	Spring* GetNextSpring();	

private:
	BOOL GetSpringTableName();
	Spring* GetSpring();

private:
	CString m_strTableName;
};

typedef ObjectGenerator<SpringSet> SpringSetGenerator;
#endif // !defined(AFX_SPRINGSET_H__CDE5334A_7BF8_4966_9D00_064452A1CB5D__INCLUDED_)
